<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" ng-click="cancel()">&times;</button>
    <p class="modal-title panel-title-size">添加主机</p>
</div>
<div class="modal-body panel-body">
    <form class="form-horizontal form-validation" name="addHostForm">
        <div class="col-sm-12">
            <div class="col-sm-5">
                <div class="col-sm-12 text-center" style="height: 40px;line-height: 40px;">
                    <span>
                        所有主机
                    </span>
                </div>
                <div class="col-sm-12">
                    <select name="left_select" multiple="multiple" size="10" id="left_select" class="list_select_box">
                    </select>
                </div>
            </div>
            <div class="col-sm-2" style="padding: 60px 0px;">
                <div class="col-sm-12 add-arrow">
                    <img src="/statics/img/right_arrow.png" style="cursor: pointer;" ng-click="right()">
                </div>
                <div class="col-sm-12 add-arrow">
                    <img src="/statics/img/left_arrow.png" style="cursor: pointer;" ng-click="left()">
                </div>
                <div class="col-sm-12 add-arrow">
                    <img src="/statics/img/double_right.png" style="cursor: pointer;" ng-click="right(true)">
                </div>
                <div class="col-sm-12 add-arrow">
                    <img src="/statics/img/double_left.png" style="cursor: pointer;" ng-click="left(true)">
                </div>
            </div>
            <div class="col-sm-5">
                <div class="col-sm-12 text-center" style="height: 40px;line-height: 40px;">
                    <span>
                        已选主机
                    </span>
                </div>
                <div class="col-sm-12">
                    <select name="left_select" multiple="multiple" size="10" id="right_select" class="list_select_box">
                    </select>
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-lg-12">
                <label class="col-lg-2 control-label">集群类型：</label>
                <div class="radio">
                    <label class="i-checks">
                        <input type="radio" name="a" ng-model="clusterResType" value="0">
                        <i></i>
                        共享
                    </label>
                    <label class="i-checks">
                        <input type="radio" name="a" ng-model="clusterResType" value="1">
                        <i></i>
                        独享
                    </label>
                </div>
            </div>
        </div>
    </form>
</div>
<div class="modal-footer">
    <button type="submit" class="btn btn-primary" validation-submit="addHostForm" ng-disabled="addHostForm.$invalid" ng-click="ok()">确认</button>
    <button class="btn btn-default" ng-click="cancel()">取消</button>
</div>